package com.design;

/**
 * 委派设计模式
 */
public class Boss {

    public void command(String task, Leader leader) {
        leader.doing(task);
    }
}
